﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Zbmsg.aspx.cs" Inherits="bgData_Zbmsg" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>数据修改维护</title>
    <link href="../css/SIS.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>

    <script language="javascript" type="text/javascript" src="../Js/Excel.js"></script>

    <script type="text/javascript">
    function openUpdateValue(id,unit,rep)
    {
        var sUrl;
        var time=document.getElementById("Date1").value;
        var obj=document.getElementById('drpType');

        var val = obj.options[obj.selectedIndex].value;      

        if(val=="dayValue")
        {
          sUrl="../bgData/DayValue.aspx?uint="+unit+"&type="+val+"&repName="+escape(rep)+"&time="+escape(time)+"&IDKEY="+id;
        }else if(val=="hourValue")
        {
          sUrl="../bgData/HourValue.aspx?uint="+unit+"&type="+val+"&repName="+escape(rep)+"&time="+escape(time)+"&IDKEY="+id;
        }else
        {
          sUrl="../bgData/BzValue.aspx?uint="+unit+"&type="+val+"&repName="+escape(rep)+"&time="+escape(time)+"&IDKEY="+id;
        }
        var result = window.open(sUrl);
    }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="Div2">
        <img id="imgTop" height="38px;" src="../img/<%=bmp %>" width="100%" />
    </div>
    <div>
        <table style="width: 95%;">
            <tr>
                <td align="left">
                    &nbsp; &nbsp<label id="lalStime" runat="server" class="td_title">
                        选择您要查询的日期:</label>
                    &nbsp;
                    <input type="text" id="Date1" style="text-align: center;" runat="server" readonly="readonly"
                        onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" />
                    &nbsp; &nbsp; 数据类型:&nbsp;
                    <asp:DropDownList runat="server" ID="drpType">
                        <asp:ListItem Selected="True" Text="日" Value="dayValue">
                        </asp:ListItem>
                        <asp:ListItem Text="班" Value="BzValue"></asp:ListItem>
                        <asp:ListItem Text="小时" Value="hourValue"></asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
        </table>
    </div>
    <table width="90%" border="1" align="center" class="bg" valign="top" bordercolorlight="#999999"
        bordercolordark="#FFFFFF" cellspacing="0" cellpadding="1" id="CX">
        <tr style="width: 80%;" bgcolor="#CFE6FC">
            <td style="width: 20%;">
                <div align="center">
                指 标 名 称
            </td>
            <td style="width: 10%;">
                <div align="center">
                单 位
            </td>
            <td style="width: 10%;">
                <div align="center">
                设计值
            </td>
            <td style="width: 10%;">
                <div align="center">
                #1机
            </td>
            <td style="width: 10%;">
                <div align="center">
                #2机
            </td>
        </tr>
        <div id="show" runat="server">
        </div>
    </table>
    </form>
</body>
</html>
